package Text3;

import java.util.HashSet;

/*
 *@Student 张策
 */
public class  Main {
    public static void main(String[] args) {
        HashSet hashSet = new HashSet();
        hashSet.add(new Employee(2000,1,1,"小明",3000));
        hashSet.add(new Employee(2001,1,1,"小红",4000));
        hashSet.add(new Employee(2000,1,1,"小明",5000));
        System.out.println(hashSet);
    }
}
